<html>
<head>
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>

<script>
$(document).ready(function(){
  $(".linkholder").click(function(){
    term=this.id
    $.post("delete",
      {
        link: this.id
      },
      function(data,status){
      });
    $(this).hide();
  });
});
</script>


</head>
<body>
<h2> Your websites </h2><hr>
{% for link in links %}
	<div class="linkholder" id="{{link.key.urlsafe()}}"><a href="{{link.url}}">{{link.url}}  </a><img src="/images/delete.png" alt="Delete" height="10" width="10"></div>
{% endfor %}
<br><hr><br><a href="/">back</a>

</body>
</html>